<?
	include("inc/config.inc.php");

	if (isSet($_SESSION[user]))
	{
		header("Location:main.php");
	}

	else
	{
	 	header("Location:login.php");
	}

?>
